* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.ac_footer {
    position: relative;
    top: 10px;
    height: 0;
    text-align: center;
    margin-bottom: 70px;
    color: #A12000;
}

.ac_footer a {
    color: #A12000;
}

.ac_footer p {
    text-align: center;
}

img[height="1"], img[width="1"] {
    display: none !important;
}

@font-face {
    font-family: 'AA-BebasNeue';
    src: url("../src/BebasNeueBold.eot");
    src: url("../src/BebasNeueBold.eot") format('embedded-opentype'), url("../src/BebasNeueBold.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Impact';
    src: url("../src/Impact.eot");
    src: url("../src/Impact.eot") format('embedded-opentype'), url("../src/Impact.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
}

html, body {
    width: 100%;
    min-width: 100%;
}

body {
    background-color: #f5eded;
    color: #222;
    font: 16px/22px 'Roboto-Regular', arial, sans-serif;
    overflow-x: hidden;
}

a {
    color: #28ad3b;
}

a:hover {
    text-decoration: none;
}

a img {
    border: none;
}

.bold, b {
    font-family: 'Roboto', arial, sans-serif;
    font-weight: 700;
}

p {
    padding: 4px 0 20px 0;
    text-align: justify;
    font: 16px/22px 'Roboto-Regular', arial, sans-serif;
}

img {
    max-width: 100%;
    height: auto;
}

input[type="text"]::-webkit-input-placeholder {
    color: #000;
}

input[type="text"]::-moz-placeholder {
    color: #000;
}

input[type="text"]:-moz-placeholder {
    color: #000;
}

h1 {
    clear: both;
    color: #28ad3b;
    font: 41px/48px 'AA-BebasNeue', Impact, sans-serif;
    text-transform: uppercase;
    margin: 68px auto 35px;
    text-align: center;
    letter-spacing: 1px;
    display: block;
}

h2 {
    color: #28ad3b;
    font: 26px/36px 'Roboto', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    margin: 1px 0 10px 0;
}

h3 {
    color: #28ad3b;
    font: 18px/26px 'Roboto-Regular', sans-serif;
    text-transform: uppercase;
    padding-bottom: 20px;;
}

.m-show {
    display: none;
}

#main-span {
    font: 22px/36px 'Roboto', sans-serif;
    text-transform: none;
    color: #000;
    display: block;
    margin-top: -3px;
    letter-spacing: normal;
}

.green-text {
    color: #28ad3b;
}

.oblique-text {
    font-style: italic;
}

.left-img {
    margin: 9px 20px 0 0;
}

.right-img {
    margin: 0 0 10px 10px;
    max-width: 60%;
}

.center-img {
    margin: 5px auto 10px auto;
    display: block;
    max-width: 100%;
}

.clear {
    clear: both;
    width: 100%;
    height: 1px;
}

.float-block {
    float: left;
    width: 67%;
    font-size: 18px;
}

.float-block p {
    text-align: left;
    padding: 5px;
}

/*---------------------------------------    HEADER    --------------------------------*/

#header {
    margin: 0px auto 0 auto;
    position: relative;
    background: #fff;
    text-align: center;
}

#header .limit {
    position: relative;
    display: block;
    margin: 0 auto;
    max-width: 1024px;
    width: 100%;
}

#logo {
    position: absolute;
    left: 44px;
    top: 21px;
    font-family: 'Dancing Script', cursive;
    font-size: 25px;
    color: #28ad3b;
}

#nav {
    list-style-type: none;
    width: 100%;
    padding-left: 229px;
}

#nav li {
    display: inline-block;
    text-align: center;
    margin-right: 32px;
    padding-top: 22px;
    padding-bottom: 22px;
    font: 17px/22px 'Roboto', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

/*---------------------------------------- main-------------------------------------*/

#content {
    position: relative;
    width: 1024px;
    max-width: 90%;
    box-shadow: 0 5px 20px #cecece;
    border-top: 2px solid #28ad3b;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px 25px 20px 25px;
}

#main {
    margin: 0 auto;
    width: 72%;
    padding-right: 20px;
    padding-left: 20px;
    border-right: 1px solid #ade0b4;
    border-left: 1px solid #ade0b4;
}

.button {
    text-transform: uppercase;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    font: 30px/34px 'AA-BebasNeue', Impact, arial, sans-serif;
    background: #d62a2a;
    -moz-transition: all 0.7s ease-out;
    -o-transition: all 0.7s ease-out;
    -webkit-transition: all 0.7s ease-out;
    padding: 16px 5px;
    min-height: 64px;
    display: block;
    margin: 25px auto 25px auto;
    color: #fff;
    text-align: center;
    max-width: 100%;
    width: 590px;
    text-decoration: none;
    box-shadow: 2px 2px 5px #888;
    -webkit-box-shadow: 2px 2px 5px #888;
    -moz-box-shadow: 2px 2px 5px;
}

.button:hover {
    text-decoration: none !important;
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
}

.button__span {
    color: #fff;
    padding: 1px 11px 0 12px;
    border: 2px solid #fff;
    border-radius: 50%;
    margin-left: 5px;
}

/*----------------------------------------------     SIDEBAR ----------------------------------------*/

#sidebar {
    width: 26.3%;
    position: absolute;
    right: 23px;
    top: 19px;
    background-color: #e6e7e8;
    padding: 22px 5px 16px 5px;
}

.sidebar img {
    width: 197px;
    height: 197px;
    margin: 0 15px 15px 0;
    background-color: #d8d6d0;
    float: left;
}

#sidebar a {
    font-style: normal;
    text-decoration: none;
    font-size: 17px;
    color: #5b5b5b;
    text-align: center;
    line-height: 120%;
    display: block;
    margin-bottom: 25px;
}

#sidebar a img {
    width: 100%;
}

#sidebar .button {
    color: #fff;
    font-size: 40px;
    letter-spacing: 1px;
    line-height: 48px;
    margin-top: -25px;
    height: 64px;
    padding-top: 11px;
}

/*----------------------------------------------   Comments        ----------------------------------------*/

#comment-title {
    color: #000;
    text-align: left;
    margin: 80px 0 0 0;
    width: 100%;
    text-transform: uppercase;
    border-bottom: 1px solid #c4c4c4;
    font: 18px/37px 'Roboto', arial, sans-serif;
    font-weight: 700;
}

.comment {
    padding: 15px 0 20px 75px;
    position: relative;
    border-bottom: 1px solid #c4c4c4;
    font-size: 100%;
}

.ava {
    position: absolute;
    left: 10px;
    width: 50px;
    height: 50px;
    top: 21px;
}

.comment p {
    font-weight: normal;
    font-size: 16px;
}

.comment .center-img {
    margin-top: 10px;
}

.datus {
    text-align: left;
    font-size: 14px;
    color: #c7adad;
    float: left;
    width: 100%;
}

.comment__name {
    display: block;
    float: left;
    width: 100%;
    margin-bottom: 5px;
}

.comment--0 {
    padding-left: 105px;
}

.comment--0 .ava {
    left: 40px;
}

.burger {
    display: none;
}

.burger img {
    width: 100%;
}

._first {
    max-width: 285px;
}

._second {
    max-width: 327px;
}

/*----------------------media-----------------------------*/

@media screen and (max-width: 1110px) {
    #main-span {
        font-size: 17px;
        letter-spacing: normal;
    }
}

@media screen and (max-width: 900px) {
    .datus {
        width: 100%;
    }

    .comment__name {
        width: 100%;
    }

    .button__span {
        display: none;
    }
}

@media screen and (max-width: 820px) {
    .burger {
        display: block;
    }

    #nav, #sidebar {
        display: none;
    }

    #main {
        width: 100%;
        border: none;
        padding: 0;
    }

    h1 {
        margin-right: 0;
    }

    .left-img {
        max-width: 36%;
        margin-right: 12px;
    }

    #header .burger {
        display: inline-block;
        max-width: 36px;
    }

    #header .limit {
        display: none;
    }

    h1 {
        margin: 35px auto;
        font-size: 35px;
    }
}

@media screen and (max-width: 620px) {
    .m-hide {
        display: none;
    }

    #content, #header {
        max-width: 100%;
        width: 100%
    }

    .comment--0 {
        padding-left: 75px;
    }

    .oblique-text {
        text-align: left;
    }

    .comment--0 .ava {
        left: 10px;
    }

    #logo {
        position: absolute;
        left: 5%;
        top: 263px;
    }

    h2 {
        font-size: 22px;
        line-height: 28px;
    }

    p {
        padding-bottom: 10px;
    }

    .m-show {
        display: block !important;
    }

    h3 {
        font-size: 15px;
        line-height: 22px;
        padding-bottom: 10px;
    }

    h1 {
        font-size: 30px;
        color: #000;
        line-height: 30px;
        width: 100%;
        max-width: 100%;
        background-color: #fff;
        margin: 0 auto;
        padding: 10px 0;
    }

    #main-span {
        display: none;
    }
}

@media screen and (max-width: 520px) {
    ._first{
        display: block;
        width: 100%;
        max-width: 285px;
        float: none;
        margin: 5px auto 10px auto;
    }
    ._second{
        display: block;
        width:100%;
        max-width: 327px;
        margin: 5px auto 10px auto;
        float: none;
    }
}